package com.rfid.client;

import okhttp3.Dispatcher;

/**
 * @author Administrator
 * @date 2020/9/27
 */
public class OkSerialUsbClient {
    final Dispatcher dispatcher;

    public OkSerialUsbClient() {
        this(new OkSerialUsbClient.Builder());
    }

    OkSerialUsbClient(Builder builder) {
        this.dispatcher = builder.dispatcher;
    }

    public static final class Builder {
        Dispatcher dispatcher;

        public Builder() {
            dispatcher = new Dispatcher();
        }

        public OkSerialUsbClient build() {
            return new OkSerialUsbClient(this);
        }
    }
} 